﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;

namespace QuanLyPhongMach.Model
{
    [Table(Name="PhanQuyen")]
    public class CPhanQuyen
    {
        #region Properties
        [Column(Name = "MaPhanQuyen", IsPrimaryKey = true)]
        public int MaPhanQuyen { get; set; }

        [Column(Name = "TenPhanQuyen")]
        public string TenPhanQuyen { get; set; }
        #endregion 

        #region Constructor
        public CPhanQuyen()
        { }

        public CPhanQuyen(int maphanquyen, string tenphanquyen)
        { }
        #endregion
    }
}
